<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.visa.TVisaBase"%>
<%@page import="com.mmy.domain.visa.TVisaCollection"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>签证管理</title>
</head>
<body>
<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>

		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1><label>签证材料整理</label></h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					
					<nav class="breadcrumb" >
						<a href="visaindex"  >签证信息</a> 
					
						<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3></hr>
					</nav>
					<div class="information" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>签证材料整理</label>
						</h4>
						</div>
						
						<div class="input-container">
						<h5 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>已提交</label>
						</h5>
						<table class="info-table">
							<tr> 
							
								<th>
								<input type="hidden" name="VisaID"  value="${iVisaID}" ><input type="hidden" name="ID"  value="${iID}" >
								<label>材料名称</label></th>
								<th><label>提交状态</label></th>
								<th><label>备注</label></th>
								
							</tr>
							<!-- 循环显示每个用户的信息 用jstl-->
      					  <c:forEach items="${collectionlist}" var="collectionlist" varStatus="status">
      					<tr >
           				 	<c:if test="${collectionlist.getSubmit()==1}">
           				 	
            			      <td >
            			      <input type="hidden" id="CollectionID" name="CollectionID" value="${collectionlist.getCollectionID()}">
            			      <label>${collectionlist.getStuffName()}</label></td>
				                <td ><label>已提交</label></td>
				                <td ><label>${collectionlist.getMemo()}</label></td>
				              </c:if>
				            </tr>  
				            </c:forEach>
				            </table>
				            
				            <h5 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>未提交</label>
						</h5>
							<div class="select-condition">		
								<div class="at-float-right">
							<input type="button" class="btn " value="提交"  onclick="updateSubmit()"/>
							</div>
					
						</div>
						<table class="info-table">
							<tr>
								<th>
									<label><input type="checkbox" id="ckall" name="ckall" onclick="ckAll(this);">全选</label>
								</th>
								 
								<th><label>材料名称</label></th>
								<th><label>提交状态</label></th>
								<th><label>备注</label></th>
				
								
							</tr>
							<!-- 循环显示每个用户的信息 用jstl-->
      					  <c:forEach items="${collectionlist}" var="collectionlist" varStatus="status">
      					
      					<tr>
           				 	<c:if test="${collectionlist.getSubmit()==0}">
            			   		<td ><input type="checkbox" name="ckone" value="${collectionlist.getCollectionID()}" onclick="ckOne(this)" /></td> 
			                	
				               <td >
				      
            			     <label>${collectionlist.getStuffName()}</label></td>
				                <td ><label>未提交</label></td>
				                <td ><label>${collectionlist.getMemo()}</label></td>
				              </c:if>
				            </tr>
	      				  </c:forEach>
						</table>
						<center>
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 
						</div>	
					</div>
					<!-- 组织机构展示结束 -->
				
				</section>
				
					
					
			</article>
			
		</main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>

</body>

</html>